package com.ruoyi.project.fire.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 寝室消息管理对象 fire_dormitory
 * 
 * @author 布衣
 * @date 2025-05-13
 */
public class FireDormitory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 寝室ID */
    private Long dormitoryId;

    /** 楼号 */
    @Excel(name = "楼号")
    private String buildingId;

    /** 寝室号 */
    @Excel(name = "寝室号")
    private String dormitoryNumber;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 寝室类型 */
    @Excel(name = "寝室类型")
    private String dormitoryType;

    /** 学生所在专业 */
    @Excel(name = "学生所在专业")
    private String studentMajor;

    public void setDormitoryId(Long dormitoryId) 
    {
        this.dormitoryId = dormitoryId;
    }

    public Long getDormitoryId() 
    {
        return dormitoryId;
    }
    public void setBuildingId(String buildingId) 
    {
        this.buildingId = buildingId;
    }

    public String getBuildingId() 
    {
        return buildingId;
    }
    public void setDormitoryNumber(String dormitoryNumber) 
    {
        this.dormitoryNumber = dormitoryNumber;
    }

    public String getDormitoryNumber() 
    {
        return dormitoryNumber;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setDormitoryType(String dormitoryType) 
    {
        this.dormitoryType = dormitoryType;
    }

    public String getDormitoryType() 
    {
        return dormitoryType;
    }
    public void setStudentMajor(String studentMajor) 
    {
        this.studentMajor = studentMajor;
    }

    public String getStudentMajor() 
    {
        return studentMajor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dormitoryId", getDormitoryId())
            .append("buildingId", getBuildingId())
            .append("dormitoryNumber", getDormitoryNumber())
            .append("studentName", getStudentName())
            .append("dormitoryType", getDormitoryType())
            .append("studentMajor", getStudentMajor())
            .toString();
    }
}
